package net.maku.module.asset.convert;

import net.maku.module.asset.entity.ReceiveEntity;
import net.maku.module.asset.vo.ReceiveVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_领用
*
* @author    
*/
@Mapper
public interface ReceiveConvert {
    ReceiveConvert INSTANCE = Mappers.getMapper(ReceiveConvert.class);

    ReceiveEntity convert(ReceiveVO vo);

    ReceiveVO convert(ReceiveEntity entity);

    List<ReceiveVO> convertList(List<ReceiveEntity> list);

}